/* Search icon by IcoMoon, made with http://icomoon.io/app/ */
@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon/icomoon.eot');
	src:url('../fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype'),
		url('../fonts/icomoon/icomoon.woff') format('woff'),
		url('../fonts/icomoon/icomoon.ttf') format('truetype'),
		url('../fonts/icomoon/icomoon.svg#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

.sb-search {
	position: relative;
	width: 0px;
	min-width: 25px;
	height: 25px;
	float: right;
	margin-top: 6px;
	overflow: hidden;
	-webkit-transition: width 0.3s;
	-moz-transition: width 0.3s;
	transition: width 0.3s;
	-webkit-backface-visibility: hidden;
}

.sb-search-input {
	position: absolute;
	top: 0;
	right: 30px;
	width: 110px;
	line-height:22px; border: 0;border-bottom: 1px solid #02328d;color: #02328d; padding-left:2px;
}

.sb-icon-search,.sb-search-submit  {
	width: 25px;
	height: 25px;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	text-align: center;
	cursor: pointer;
	background:url(../images/search.png) no-repeat right center;
}

.sb-search-submit {
	background: #fff; /* IE needs this */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
    filter: alpha(opacity=0); /* IE 5-7 */
    opacity: 0;
	color: transparent;
	border: none;
	outline: none;
	z-index: -1;
	
}

.sb-icon-search {
	color: #fff;
	z-index: 90;
}

.sb-icon-search:before {
	
}

/* Open state */
.sb-search.sb-search-open,
.no-js .sb-search {
	width: 145px;
}

.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search {
	
}

.sb-search.sb-search-open .sb-search-submit,
.no-js .sb-search .sb-search-submit {
	
}


/*svg*/
.box {
	width: 216px;
	height: 94px;
	position: relative;
	display: inline-block;
	cursor: pointer;
	color: #2c3e50;
	-webkit-transition: background 0.4s 0.5s;
	transition: background 0.4s 0.5s;
}

.box:hover {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.box h3 {
	line-height: 94px;
	margin: 0;
	width: 100%;
}

.box svg {
	position: absolute;
	top: 0;
	left: 0;
}

.box svg line {
	stroke-width: 0;
	fill: none;
	-webkit-transition: all .8s ease-in-out;
	transition: all .8s ease-in-out;
}

.box:hover svg line {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.box svg line.top,
.box svg line.bottom {
	stroke-dasharray: 235 180; 
}

.box svg line.left,
.box svg line.right {
	stroke-dasharray: 110 60;
}

.box:hover svg line.top {
	-webkit-transform: translateX(-216px);
	transform: translateX(-216px);
}

.box:hover svg line.bottom {
	-webkit-transform: translateX(216px);
	transform: translateX(216px);
}

.box:hover svg line.left {
	-webkit-transform: translateY(94px);
	transform: translateY(94px);
}

.box:hover svg line.right {
	-webkit-transform: translateY(-94px);
	transform: translateY(-94px);
}

/* Alternatives */

/* Frame */
.demo-3 .box {
	background: rgba(0,0,0,0);
	color: #fff;
	box-shadow: none;
	-webkit-transition: background 0.3s;
	transition: background 0.3s;
}

.demo-3 .box:hover {
	background: rgba(0,0,0,0.4);
}

.demo-3 .box svg line {
	-webkit-transition: all .5s;
	transition: all .5s;
}

.demo-3 .box:hover svg line {
	stroke-width: 8;
	stroke: #005ea6;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.demo-3 .box:hover svg line.top {
	-webkit-transform: translateX(-216px);
	transform: translateX(-216px);
}

.demo-3 .box:hover svg line.bottom {
	-webkit-transform: translateX(216px);
	transform: translateX(216px);
}

.demo-3 .box:hover svg line.left {
	-webkit-transform: translateY(94px);
	transform: translateY(94px);
}

.demo-3 .box:hover svg line.right {
	-webkit-transform: translateY(-94px);
	transform: translateY(-94px);
}